import { IResponseBase } from '@/api/user/type'
export interface IPermission {
  id?: number
  createTime: string
  updateTime: string
  pid: number
  name: string
  code: any
  toCode: any
  type: number
  status: any
  level: number
  children: IPermission[]
}
export interface IPermissionResponse extends IResponseBase {
  data: IPermission[]
}

export interface IPermissionParam {
  id?: string
  code: string
  level: number
  name: string
  pid: string
}
